package com.jshare.service;

import java.util.List;
import com.jshare.entity.News;
import com.jshare.util.Pager;

public interface NewsService {

	public void addAnews(News news);
	public List listAllNews();
	public List getAllTitle();
	public boolean isExist(int id);
	public void deleteAnews(int id);
	public Pager getPageData(int pageSize, int pageNow);
	public News getNewsById(int id);
}
